package com.kucun.service;

import java.util.List;

import com.kucun.bean.Page;
import com.kucun.bean.Users;

public interface Userservice {
	boolean save(Users users);
	boolean update(Users users);
	boolean delete(String id);
	Users findById(int id);
	List<Users> findAll(Page page);
	Users login(String logname);
	List<Users> query(String y,String s,int i,int rows);
	Page getCount(String cs);
	Page queryCount(String y,String s);
	
	Integer updateUserPassword(Users users);
	
	/**获取用户所有信息**/
	List<Users> GetAllUsers(Page page);
	/**获取用户所有信息总数**/
	Page getUsersCount(Page page);
	
	Integer updateByPrimaryKeySelective(Users users);
	
	Integer insertSelective(Users users);
}
